<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="echarts.js"></script>
    <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>

</head>
<body>
<div id="main" style="width: 600px;height:400px;border:3px solid #ff0000"></div>
    <script type="text/javascript">
    var myChart = echarts.init(document.getElementById('main'));

           option = {
        title: {
            text: '某APP用户',
            subtext: '数据来自胡扯'
        },
        tooltip: {
            trigger: 'axis',
            axisPointer: {
                type: 'shadow'
            }
        },
        legend: {
            data: ['']
        },
        grid: {
            left: '3%',
            right: '4%',
            bottom: '3%',
            containLabel: true
        },
        xAxis: {
            type: 'value',
            boundaryGap: [0, 0.01]
        },
        yAxis: {
            type: 'category',
            data: ['流失用户', '回流用户', '连续活跃用户', '新用户', '活跃用户']
        },
        series: [
            {
                name: '2011年',
                type: 'bar',
                data: [183472, 6546, 524, 91, 0]
            },

        ]
    };

    myChart.setOption(option);
    </script>
</body>
</html>